package chapter21.homework02;

//保存需要存储的信息，通过初始化进行设置属性（备忘录类）
public class Memento {
    private int state;

    public Memento(int state){
        this.state=state;
    }

    public int getState() {
        return state;
    }
}
